<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 	{if $home_active != "active"}
 	<meta name="robots" content="index, nofollow" />
 	{/if}
 	<title>{$title}</title>
	<link href="./style/Maptrick.css" rel="stylesheet" type="text/css" media="screen" />
	<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
	<link rel="icon" href="./favicon.ico" type="image/x-icon" />
	{if $hoc_active == "active"}
	<script type="text/javascript" src="./scripts/hoc/hallofcool.js"></script>
	{/if}
	{if $botmap == true}
	<script type="text/javascript" src="./scripts/BotMap.js"></script>
	<link href="./style/BotMap.css" rel="stylesheet" type="text/css" media="screen" />
	{/if}
	{if $supportermap == true}
	<script type="text/javascript" src="./scripts/SupporterMap.js"></script>
	<link href="./style/BotMap.css" rel="stylesheet" type="text/css" media="screen" />
	{/if}
	{if $showHoC == true}
	<script type="text/javascript" src="./lib/jquery.tools.min.js"></script>
	{/if}
</head>
<body>
	<div class="main">
		<div class="header">
			<form name="SignIn" action="{$action}" method="post" id="header-top">
				{if $loggedIn == true}
					<input name="hidden" type="hidden" value="logout" />
					<input name="rnd" type="hidden" value="{$rnd_maptrick}"></input>
					<div class="login">
						{$login_user}, <a href="coolness.php?team={$login_teamID}#results" title="Show the coolness rating for your team">{$login_team}</a>{if isset($login_league)}, <a href="hallofcool.php?league={$login_leagueID}" title="Show the ranking for your league">{$login_league}</a>{/if}
					</div>
					<input type="submit" class="logout-button" value="Sign off" />
				{else}
					<input name="hidden" type="hidden" value="login" />
					<input name="rnd" type="hidden" value="{$rnd_maptrick}" />
					<a href="javascript:document.SignIn.submit();" class="login-button"></a>
				{/if}
				<div class="message">{$message}</div>
			</form>
			<a id="header-logo" href="./maptrick.php"></a>
			<div id="header-bottom">
				<div id="navcontainer">
					<ul class="navlist">                        
						<li class="{$home_active}"><a href="./maptrick.php">Home</a></li>
						<li class="{$cool_active}"><a href="./coolness.php">Coolness</a></li>
						<li class="{$hoc_active}"><a href="./hallofcool.php">Hall of Cool</a></li>
						<li class="{$bot_active}"><a href="./botmap.php">Botmap</a></li>
						<li class="{$graphs_active}"><a href="./graphs.php">Graphs</a></li>
						<li class="{$training_active}"><a href="./training.php">Training</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	
	<div class="body-main">

	{literal}
	<!--[if lt IE 7]><div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; width: 800px; margin-top: 20px; position: relative;'><div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a></div><div style='width: 660px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'><div style='width: 66px; float: left;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/></div><div style='width: 275px; float: left; font-family: Arial, sans-serif;'><div style='font-size: 14px; font-weight: bold; margin-top: 12px;'>You are using an outdated browser</div><div style='font-size: 12px; margin-top: 6px; line-height: 12px;'>For a better experience using this site, please upgrade to a modern web browser.</div></div><div style='width: 66px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox 3.5'/></a></div><div style='width: 66px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari 4'/></a></div><div style='width: 66px; float: left;'><a href='http://www.opera.com/download' target='_blank'><img src='../images/opera.jpg' style='border: none;' alt='Get Opera'/></a></div><div style='width: 66px; float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/></a></div><div style='float: left;'><a href='http://www.browserforthebetter.com/download.html' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer 8'/></a></div></div></div><![endif]-->
	{/literal}